#ifndef __ROTARY_ENCODER_H__
#define __ROTARY_ENCODER_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "main.h"

void rotary_encoder_init(void);
void rotary_encoder_button_timer_cb(void*);
void rotary_encoder_AA_called_in_exti_int(void);
void rotary_encoder_BB_called_in_exti_int(void);
void rotary_encoder_exti_irq_ctrl(FunctionalState state);

#ifdef __cplusplus
}   /* extern "C" */ 
#endif

#endif
